package com.benbi.shequapi.bean;

        import com.alibaba.fastjson.annotation.JSONField;
        import com.fasterxml.jackson.annotation.JsonFormat;

        import java.util.Date;

public class Report {
    private int rep_id;
    private int w_pid;
    private String title;
    private String content;
    private Date create_time;

    public Report(){
    }

    public Report(int rep_id,int w_pid,String title,String content,Date create_time){
        this.rep_id=rep_id;
        this.w_pid=w_pid;
        this.title=title;
        this.content=content;
        this.create_time=create_time;
    }

    public int getRep_id() {
        return rep_id;
    }

    public void setRep_id(int rep_id) {
        this.rep_id = rep_id;
    }

    //getFunction
    public int getW_pid(){return w_pid;}
    public String getTitle(){return title;}
    public String getContent(){return content;}
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    public Date getCreate_time(){return create_time;}

    //setFunction
    public void setW_pid(int w_pid){this.w_pid=w_pid;}
    public void setTitle(String title){this.title=title;}
    public void setContent(String content){this.content=content;}
    public void setCreate_time(Date create_time){this.create_time=create_time;}

}


